//
//  RoadMapViewController.h
//  ASHT_IOS
//
//  Created by 宋安安 on 14-4-18.
//  Copyright (c) 2014年 宋安安. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ViewControllerEx.h"
#import "BMapKit.h"
@protocol RoadMapViewControllerDelegate <NSObject>
@required
-(void)WalkingRoutePlanning :(CLLocationCoordinate2D )star end:(CLLocationCoordinate2D)end;//步行规划路线
-(void)BusRoutePlanning :(CLLocationCoordinate2D )star end:(CLLocationCoordinate2D)end;//公交规划路线
-(void)DriveRoutePlanning :(CLLocationCoordinate2D )star end:(CLLocationCoordinate2D)end;//驾车规划路线


@end
@interface RoadMapViewController : ViewControllerEx
{
    IBOutlet UIButton *btn_Bus;
    IBOutlet UIButton *btn_Walk;
    IBOutlet UIButton *btn_Drive;
}
@property(nonatomic,weak)id<RoadMapViewControllerDelegate>roadmapDelegate;
@property(nonatomic,strong) IBOutlet UILabel *lab_Name;
@property(nonatomic,strong) IBOutlet UILabel *lab_Address;
@property(nonatomic,strong) IBOutlet UILabel *lab_Phone;
@property(nonatomic,strong) IBOutlet UITextField *text_star;
@property(nonatomic,strong) IBOutlet UITextField *text_end;
@property(nonatomic,strong)BMKPoiInfo *bmkpoiinfo;
@property(nonatomic)CLLocationCoordinate2D star;//起点
@property(nonatomic)CLLocationCoordinate2D end;//终点
-(IBAction)btn_Bus_OnClick:(id)sender;
-(IBAction)btn_Walk_OnClick:(id)sender;
-(IBAction)btn_Drive_OnClick:(id)sender;
-(IBAction)btn_Routeplaning_OnClick:(id)sender;
-(IBAction)btn_btn4_OnClick:(id)sender;
@end
